Woocommerce\Pagarme\Controller\Gateways\CreditCard S

Total Complexity 42
Dependencies 7
Dependents 0
Total lines 747
Lines of code 554
Logical lines of code 121
Comment lines 91
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
generate_installments_by_flag_html()
A
31 4 166
field_cc_installment_fields()
S
43 1 54
append_form_fields()
S
51 2 26
getBrandsList()
S
54 2 21
getDefaultInstallmentType()
S
66 3 9
getOldTitleName()
S
64 3 10
validate_installments_by_flag_field()
S
67 3 8
validate_cc_soft_descriptor_field()
S
60 2 14
field_cc_soft_descriptor()
S
54 1 21
field_cc_allow_save()
S
56 1 18
field_cc_installment_type()
S
56 1 18
field_cc_flags()
S
57 1 17
section_installments()
S
59 1 17
renderInstallmentTextField()
S
58 1 15
antifraud_min_value()
S
58 1 15
field_cc_allowed_for_subscription()
S
59 1 14
field_cc_subscription_installments()
S
59 1 14
field_cc_tds_min_amount()
S
60 1 13
field_cc_operation_type()
S
62 1 12
antifraud_enabled()
S
61 1 12
field_cc_tds_enabled()
S
61 1 12
addRefundSupport()
S
80 1 3
hasSubscriptionSupport()
S
82 1 3
isSubscriptionActive()
S
79 1 3
gateway_form_fields()
S
69 1 7
field_enabled()
S
63 1 10
section_antifraud()
S
66 1 9
section()
S
71 1 6
validate_cc_flags_field()
S
76 1 4
convertCcInstallmentsInterest()
S
78 1 3